package com.qeegoo.b2bautozityp.injector.module;

import com.qeegoo.b2bautozityp.api.RequestApi;
import com.qeegoo.b2bautozityp.injector.PerActivity;
import com.qeegoo.b2bautozityp.moudle.user.viewmodel.AccountSecurityViewModel;

import dagger.Module;
import dagger.Provides;

/**
 * 王少岩 在 2017/9/13 创建了它
 */

@Module
public class AccountSecurityModule {

    @Provides
    @PerActivity
    public AccountSecurityViewModel provideViewModel(RequestApi api){
        return new AccountSecurityViewModel(api);
    }
}
